include=.

exec: time_count.o
	gcc libevent/tailq.c time_count.o -o libevent/tailq -I${include}
	gcc linux-kernel/list.c time_count.o -o linux-kernel/list -I${include}

time_count.o:
	gcc -c time_count.c

run:
	libevent/tailq && linux-kernel/list

clean:
	rm -rf time_count.o libevent/tailq linux-kernel/list